home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 August / chip-cd_2004_08.zip / 08 / Internet / Shareaza 2.0 / Shareaza_2.0.0.0.exe / Schemas / SchemaDescriptor.xsd < prev    next >
Extensible Markup Language  |  2003-11-30  |  2KB  |  74 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- Update Me -->
  4.  
  5. <schema targetNamespace="http://www.shareaza.com/schemas/SchemaDescriptor.xsd" version="1.0" xmlns="http://www.w3.org/2001/XMLSchema">
  6.  
  7.     <element name="schemaDescriptor">
  8.         <complexType>
  9.             <all>
  10.                 <element name="title" type="string" minOccurs="0" maxOccurs="1"/>
  11.                 <element name="extends" type="extendsType" minOccurs="0" maxOccurs="1"/>
  12.                 <element name="memberDisplay" type="memberDisplayType" minOccurs="0" maxOccurs="1"/>
  13.                 <element name="typeFilter" type="typeFilterType" minOccurs="0" maxOccurs="1"/>
  14.                 <element name="bitziImport" type="bitziImportType" minOccurs="0" maxOccurs="1"/>
  15.             </all>
  16.         </complexType>
  17.     </element>
  18.     
  19.     <complexType name="extendsType">
  20.         <sequence>
  21.             <element name="schema" minOccurs="0" maxOccurs="unbounded">
  22.                 <complexType>
  23.                     <attribute name="location" type="uriReference" use="required"/>
  24.                 </complexType>
  25.             </element>
  26.         </sequence>
  27.     </complexType>
  28.     
  29.     <complexType name="memberDisplayType">
  30.         <sequence>
  31.             <element name="member" minOccurs="0" maxOccurs="unbounded">
  32.                 <complexType>
  33.                     <attribute name="name" type="NMTOKEN" use="required"/>
  34.                     <attribute name="title" type="string"/>
  35.                     <attribute name="format" type="string"/>
  36.                     <attribute name="defaultColumn" type="boolean"/>
  37.                     <attribute name="columnWidth" type="int"/>
  38.                     <attribute name="columnAlign">
  39.                         <simpleType base="string">
  40.                             <enumeration value="left"/>
  41.                             <enumeration value="center"/>
  42.                             <enumeration value="right"/>
  43.                         </simpleType>
  44.                     </attribute>
  45.                 </complexType>
  46.             </element>
  47.         </sequence>
  48.     </complexType>
  49.     
  50.     <complexType name="typeFilterType">
  51.         <sequence>
  52.             <element name="type" minOccurs="0" maxOccurs="unbounded">
  53.                 <complexType>
  54.                     <attribute name="extension" type="string" use="required"/>
  55.                 </complexType>
  56.             </element>
  57.         </sequence>
  58.     </complexType>
  59.     
  60.     <complexType name="bitziImportType">
  61.         <attribute name="testExists" type="string" use="required"/>
  62.         <sequence>
  63.             <element name="mapping" minOccurs="0" maxOccurs="unbounded">
  64.                 <complexType>
  65.                     <attribute name="from" type="string" use="required"/>
  66.                     <attribute name="to" type="string" use="required"/>
  67.                     <attribute name="factor" type="decimal"/>
  68.                 </complexType>
  69.             </element>
  70.         </sequence>
  71.     </complexType>
  72.     
  73. </schema>
  74.